import module namespace kart="http://sendmeafilter.com/common/kart" at "common/kart.xqy";

(
	xdmp:set-response-content-type('text/json; charset=utf-8'),
	kart:getFilterInfo(
		xs:integer(xdmp:get-request-field('height','0')),
		xs:integer(xdmp:get-request-field('width','0')),
		xs:integer(xdmp:get-request-field('thickness','1')))
)
